package com.idp.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.idp.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 页面按钮实体类
 * @author king
 */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName("sys_button")
public class SysButtonEntity extends BaseEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/** 主键ID */
	@TableId(value = "id", type = IdType.ASSIGN_UUID)
	private String id;
	/** 菜单ID */
	@TableField("menu_id")
	private String menuId;
	/** 按钮编码 */
	@TableField("btn_code")
	private String btnCode;
	/** 按钮名称 */
	@TableField("btn_name")
	private String btnName;
	/** 排序 */
	@TableField("btn_sort")
	private Integer btnSort;

}
